package com.beordie.model;

import java.sql.Time;
import java.util.Date;

/**
 * @Classname Notice
 * @Description 通知单
 * @Date 2021/7/11 16:59
 * @Created 30500
 */
public class Notice {
    private Integer id;
    private String number;
    private Date day;
    private Date time;
    private String location;
    private String record;


    private Driver driver;
    private Police police;
    private Car car;

    public Notice(Integer id, String number, Date day, Date time, String location, String record) {
        this.id = id;
        this.number = number;
        this.day = day;
        this.time = time;
        this.location = location;
        this.record = record;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", day=" + day +
                ", time=" + time +
                ", location='" + location + '\'' +
                ", record='" + record + '\'' +
                ", driver=" + driver +
                ", police=" + police +
                ", car=" + car +
                '}';
    }

    public Driver getDriver() {
        return driver;
    }

    public void setDriver(Driver driver) {
        this.driver = driver;
    }

    public Police getPolice() {
        return police;
    }

    public void setPolice(Police police) {
        this.police = police;
    }

    public Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }

    public Notice() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Date getDay() {
        return day;
    }

    public void setDay(Date day) {
        this.day = day;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getRecord() {
        return record;
    }

    public void setRecord(String record) {
        this.record = record;
    }

}
